import { createApp, h } from 'vue'
import FilePreview from '../components/fileComponents/filePreview.vue'

const FileViewPlugin = {
  install (app, options) {
    // 全局组件
    app.component('FileViewPlugin', FilePreview)
  }
}

export default FileViewPlugin